package netctoss.demo.controller.common;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("common")
public class CommonController {


    @RequestMapping("/header")
    public ModelAndView header(){
        return new ModelAndView("/common/header.html");
    }


    @RequestMapping("/login")
    public ModelAndView login(){

        return new ModelAndView("/login.html");
    }
}
